package com.ybb.vue.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ybb.vue.domain.vo.AnnIndexVo;
import com.ybb.vue.entity.Announcement;

import java.util.List;

/**
* @author apple
* @description 针对表【announcement】的数据库操作Mapper
* @createDate 2023-03-30 13:00:49
* @Entity com.ybb.vue.entity.Announcement
*/
public interface AnnouncementMapper extends BaseMapper<Announcement> {

    // 查找所有公告
    List<AnnIndexVo> selectAllAnnouncements();

}
